/********************************************************************
	created:	2011/05/16
	created:	16:5:2011   18:56
	author:		wuxiangfei
*********************************************************************/

#ifndef _CORE_H
#define _CORE_H

#include "TcpServer/TcpServe.h"


bool g_StartWeb(int iPort, CDialog *pMainDialg);
void g_SocketNotify(WPARAM wParam, LPARAM lParam);
bool g_GetArgs(IN char *pcData, IN int iDataLen,OUT CString &strArgs);

void g_SendResult(IN CString strUrl, IN CString strbarcode);

bool g_ParseArgs(CString strArgs, CStringArray &strArray);

#endif